package ylsb.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import ylsb.model.Dailiangchuangxin;
import ylsb.model.DailiangchuangxinExample;

public interface DailiangchuangxinMapper {

    List<Map<String, Object>> findBiaojuelist(@Param("xiangmuid") String mmxiangmuId, @Param("userid") String mmuserId);

    List<Map<String,Object>> findChuangxinBiaojueByXiangmuId(@Param("xiangmuid") String ppxiangmuId,@Param("userid") String ppuserId, @Param("startindex") int ppStartIndex, @Param("pagesize") int ppPageSize);

    List<Map<String,Object>> findDailiangchuangxinByXiangmuId(@Param("xiangmuid") String ppxiangmuId, @Param("startindex") int ppStartIndex, @Param("pagesize") int ppPageSize);

    Object countChuangxinBiaojueByXiangmuId(@Param("xiangmuid") String ppxiangmuId,@Param("userid") String ppuserId);

    Object countChuangxinByXiangmuId(@Param("xiangmuid") String ppxiangmuId);

    int countByExample(DailiangchuangxinExample example);

    int deleteByExample(DailiangchuangxinExample example);

    int deleteByPrimaryKey(String id);

    int insert(Dailiangchuangxin record);

    int insertSelective(Dailiangchuangxin record);

    List<Dailiangchuangxin> selectByExample(DailiangchuangxinExample example);

    Dailiangchuangxin selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") Dailiangchuangxin record, @Param("example") DailiangchuangxinExample example);

    int updateByExample(@Param("record") Dailiangchuangxin record, @Param("example") DailiangchuangxinExample example);

    int updateByPrimaryKeySelective(Dailiangchuangxin record);

    int updateByPrimaryKey(Dailiangchuangxin record);
}